package fluxx.draft;

public class StandardDeck extends Deck {
	public StandardDeck() {
		add(new Keeper("Bread"));
		add(new Keeper("Money"));
		add(new Keeper("The Sun"));
		add(new Keeper("The Moon"));
		add(new Keeper("Toaster"));
		add(new Keeper("Love"));
		add(new Keeper("Peace"));
		add(new Has2Keepers("Dough", "Bread", "Money"));
		add(new Has2Keepers("Hippyism", "Love", "Peace")); // Wrong
		add(new Rule("Play 2", "", "Play X") {public int getPlayAmount(GameState game, int in) { return 2; }});
		add(new Rule("Draw 2", "", "Draw X") {public int getDrawAmount(GameState game, int in) { return 2; }});
		add(new Action("Trash a rule", "") {public void bePlayed(GameState game, Player player) {
			super.bePlayed(game, player);
			if (game.rules.size() == 0) return;
			Rule ruleToTrash = game.demandPickOne(game.rules, "Select rule to trash");
			game.rules.remove(ruleToTrash);
			game.discard(ruleToTrash);
		}});
		// Dummy cards for testing
		final int NUM_DUMMY = 10;
		for (int i = 0; i < NUM_DUMMY; i++) {
			add(new Action("Dummy"+i,null) {});
		}
	}
}
